import orderForm from './components/form-box';
import handlerCache from '../../../../mixins/handler-cache';

export default {
	components: {
		orderForm
	},
	mixins: [handlerCache],
	data() {
		return {
			prefix: 'cotton:ppfCottonBlending',
			showLoading: false,
			ruleForm: {}
		};
	},
	methods: {
		clearCacheMethod() {
			this.$refs.orderForm.clearCacheData();
		},
		onJump() {
			this.$store.dispatch('tagsView/delView', { path: this.$route.path });
			this.$toMainRouter({
				name: 'ProductConfigCotton'
			});
		}
	}
};
